<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="<%=basePath %>/resource/js/common-css-js.js" charset="UTF-8"></script>
<title>账户信息-修改</title>
<style type="text/css">
	body {
		padding: 10px;
	}
</style>
</head>
<body>
	<form class="layui-form">
	  <input type="hidden" lay-verify="required|intNumber" name="accountInfoId"/>
	  <div class="layui-form-item">
	      <input type="text"  name="accountInfoThem" lay-verify="required" placeholder="账户主题" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text"  name="accountInfoCardNumber" lay-verify="required|bankCard" placeholder="账户账号" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text"  name="accountInfoCardNumber"  lay-verify="required|chineseStr" placeholder="开户银行" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text"  name="accountInfoCardType"  lay-verify="chineseStr" placeholder="卡号类型" autocomplete="off" class="layui-input">
	  </div>
	   <div class="layui-form-item">
	      <input type="text"  name="accountInfoCardName" lay-verify="chineseStr" placeholder="卡号名称" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text"  id="accountInfoCreateDate" lay-verify="mydate" name="accountInfoCreateDate"  placeholder="开户日期" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text"  name="accountInfoAddress" lay-verify="required" placeholder="开户地点" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text"  name="accountInfoAgent"  lay-verify="required|peopleName" placeholder="经办人" autocomplete="off" class="layui-input">
	  </div>
	  <div class="layui-form-item">
	      <input type="text"  name="accountInfoRemark"  placeholder="备注" autocomplete="off" class="layui-input">
	  </div>
	  <%@include file="/admin/commonsPage/submit-reset.html" %>
	 </form>
	 <script type="text/javascript">
		var selected = parent.cTable.bootstrapTable('getSelections');
		
		for(key in selected[0]){
			$("input[name='"+key+"']").val(selected[0][key]);
		}
		
		requestUpdateData("/financial/account-info");
	 </script>
</body>
</html>